﻿@model IEnumerable<InfoLogic.Models.BussinessAddress>

@{
    ViewBag.Title = "Notification";
}
  
<h2>Notification</h2>
<p>The Business's address has been successfuly saved</p>
 <p>
     @Html.ActionLink("Next Step", "Create", "BusinessType")
 </p>
@*<p>
    @Html.ActionLink("Create New", "Create")
</p>
<table>
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.StreetName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.stallNumber)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Business.BusinessName)
        </th>
        <th></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.StreetName)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.stallNumber)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Business.BusinessName)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.BussinessAddressId }) |
            @Html.ActionLink("Details", "Details", new {  id=item.BussinessAddressId  }) |
            @Html.ActionLink("Delete", "Delete", new {  id=item.BussinessAddressId  })
        </td>
    </tr>
}

</table>*@
